<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<% If mostrar_produto_destaque_fachada="Sim" and intProdID9<>"" then %> 
<div align="center">
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#cccccc">
<tr> 
<td width="100%" height="0" bgcolor="#cccccc" >
		<table width="100%" BORDER="0" CELLPADDING="0" CELLSPACING="1" style="BORDER: whithe 1px dotted; cellSpacing=1 cellPadding=1 border=0">
		<tr> 
			<td bgcolor="<%=fontebranca%>"> 
			<form action="comprar.asp" method="post" name="comprar9">
			<table BORDER="0" CELLSPACING="1" CELLPADDING="3"> 
				<tr> 
					<td bgcolor="<%=fontebranca%>"> 
					<% 
					If len(cstr(rs9.fields("imgra")))<3 then 
						imgra="img_nao_disp.gif" 
					else 
						imgra=rs9.fields("imgra")  
					end if
					%>
						<table align=center width="100%" cellspacing="1" cellpadding="1"> 
							<tr> 
								<td width="10%" height=180 align="center" >
									<a href="produtos.asp?produto=<%=rs9.fields("idprod")%>" onMouseOut="window.status='';return true;" onMouseOver="window.status='+ Detalhes';return true;" style="color:"<%=fontebranca%>";text-decoration:none;">
										<img src="produtos/imagens/<%=imgra%>" width="180" border="0">
									</a>
								</td>
								
								<td align="left" valign=center width="90%">
									<font style=font-size:13px;font-family:<%=fonte%>><b>
									<font color=<%=fontepreta%>><%=rs9.fields("nome")%></font></b>
									<font color=<%=fontepreta%>><br>
									<br>
									<b><%=strLg29%></b> 
									<FONT face="arial, helvetica" color=#0000ff size=2><B>&nbsp;<%= strlgmoeda & " " & precito9%></b></font><br>
									<br>
									<% if Usar_NovosUsados = "Sim" then %>
									<b>Produto: <font color=<%=fontepreta%>><%=rs9.fields("condicao")%></font></b>
									<% end if %>
									<% 
									
									'***  Verifica se tem Estoque do Produto 9 (Produto Destaque)
									response.write "<b>" & strLg28 & "</b>"
									set rs_estoque9 = abredb.execute("SELECT estoque FROM estoque WHERE idproduto="&rs9.fields("idprod")&" ;")
									if not rs_estoque9.eof then
										estoque_atual_9=rs_estoque9("estoque")
									end if
									
									rs_estoque9.close
									set rs_estoque9 = nothing
									
									if estoque_atual_9 > 0 then 
										response.write " " & strLg26 
									else 
										response.write " " & strLg27 
									end if
									%>
									<br>
									<div align=right><br>
									<input type="hidden" name="intProdID" value="<%= intProdID9 %>">
									<input type="hidden" name="intQuant" value=1>
									<%
						if rs9("fretegratis") = "s" then 
							response.write "<img src=imagens_site/fretegratis.gif border=0 /> "
						end if
						%> 									
									<%
										if estoque_atual_9 > 0 then 
											response.write "<a href=""JavaScript: document.comprar9.submit();""><img src="&dirlingua&"/imagens/comprar_2.gif border=0 alt='"& strLg276 & "' onMouseOut=""window.status='';return true;"" onMouseOver=""window.status='"& strLg276 & "';return true;""></a>&nbsp;&nbsp;" 
										end if
									%>
									<a href="produtos.asp?produto=<%=rs9.fields("idprod")%>"  onMouseOut="window.status='';return true;" onMouseOver="window.status='+ Detalhes';return true;" style="color:"<%=fontebranca%>";text-decoration:none;"><img src=<%=dirlingua%>/imagens/detalhes.gif border="0"></a></div>
									<%
										rs9.close
										set rs9 = nothing
									%>
									</font></font>
								</td>
							</tr>
						</table>
					</td>
				</tr>					
			</form>
			</td>
		</tr>
	</table>
	</td>
	</tr>
</table>
		
	<tr> 
	<td height="0" bordercolor="#00CC99" bgcolor="#336699" width="100%">
		<img src="<%=dirlingua%>/imagens/destaques.gif"> 
	</td>
	</tr>
</table> 
</div>
<% End If %>